<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<link rel="stylesheet" type="text/css" href="style/login.css">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Manage Your Business from here</title>
</head>
<body id="main_body">
	<div id="middle_div">

		<form id="login_form" action="main" method="post">
			<br />Username: 
			<input id="us" type="text" name="username" />
			<br />Password:
			<input id="ps" type="password" name="password" /> <br />
			<input id="log_button" type="submit" value="Log On">
		</form>
	</div>
	
	<div id="error_div">
	<%if (request.getAttribute("error") != null) { %>
		<p>Error logging in</p>
		<p><%=request.getAttribute("error") %></p>
	<%} %>
	</div>
	
</body>
</html>